#pragma once

#include "PrimitiveBase.h"
#include "Triangle2D.h"

// attachment of triangle data 
class CImageAttachment 
{
public:    
    CImagePrimitive(TSharedObjectPtr<RMaterial> InMaterial,size_t InTriangleNum,size_t InStartTriangleIndex)
    {
        Material=InMaterial;
        TriangleNum=InTriangleNum;
        StartTriangleIndex=InStartTriangleIndex;
        
    }
private:
    TSharedObjectPtr<RMaterial> Material;
    size_t StartTriangleIndex=0;
    size_t TriangleNum=2;
};